<?php
namespace App\model;
use Core\Db;   
class logModel
{
     public function add($tip,$eid){
		$uid=$_SESSION['user']['uid'];
		//6 句式修改 5,相似检测
		Db::table()->insert("bbx_log", [
			"tip" => $tip,
			"eid" => $eid,
			"ctime" => time(),
			"uid" => $uid
		]); 
	 }
}